@{
    string FormStructure = @"{ ""DateCreated"": ""2010-11-15 17:19:21"", ""DateUpdated"": ""2010-11-15 17:28:30"", ""Description"": ""Fill the form to send feedback about our products!"", ""Email"": null, ""EndDate"": ""2030-01-01 12:00:00"",  ""EntryLimit"": ""0"",  ""Hash"": ""m7x3p9"",  ""IsPublic"": ""1"",  ""Language"": ""english"",  ""Name"": ""My Sample Form"",  ""RedirectMessage"": ""Success! Thanks for filling out my form!"",  ""StartDate"": ""2000-01-01 12:00:00"",  ""Url"": ""my-sample-form""}";
    
    //string FieldStructure = @"{ ""Fields"": [  {""ID"": ""Field1"", ""IsRequired"": ""1"", ""Title"": ""Enter your suggestions"", ""Type"": ""textarea"" }, {""ID"": ""Field2"", ""IsRequired"": ""0"", ""Title"": ""Email"", ""Type"": ""email"" } ] }";

    string FieldStructure = @"{ ""Fields"": [ {""ID"":""Field1"",""IsRequired"":""1"",""Title"":""Enter your suggestions"", ""Type"": ""textarea"" },{""ID"":""Field2"",""IsRequired"": ""0"", ""Title"": ""Email"", ""Type"": ""email"" },{""Choices"": [ {""Label"":""First Choice"" }, {""Label"": ""Second Choice""},{""Label"":""Third Choice""}],""ID"":""Field4"",""IsRequired"":""0"", ""Title"":""Select a Choice"",""Type"":""select""},{""Choices"": [ {""Label"":""First Choice"" }, {""Label"": ""Second Choice""},{""Label"":""Third Choice""}],""ID"":""Field6"",""IsRequired"":""0"", ""Title"":""Radio: Select a Choice"",""Type"":""radio""}
,{""ID"": ""Field110"",""IsRequired"": ""0"",""SubFields"":[{""ID"": ""Field110"",""Label"": ""First Choice""},{""ID"": ""Field111"",""Label"": ""Second Choice""},{""ID"": ""Field112"",""Label"": ""Third Choice""}],""Title"":""Checkboxes"",""Type"":""checkbox""}
,{""ID"": ""Field50"",""IsRequired"": ""0"",""SubFields"":[{""ID"": ""Field50"", ""Label"": ""Street""}, {""ID"": ""Field51"",""Label"": ""Address Line 2""},{""ID"": ""Field52"",""Label"": ""City""},{""ID"": ""Field53"",""Label"": ""State""},{""ID"": ""Field54"",""Label"": ""Zip""},{""ID"": ""Field55"",""Label"": ""Country""}],""Title"": ""Address"",""Type"": ""address""}
,{""ID"": ""Field10"",""IsRequired"": ""0"",""SubFields"":[{""ID"": ""Field10"",""Label"": ""First""},{""ID"": ""Field11"",""Label"": ""Last""}],""Title"": ""Name"",""Type"": ""shortname""}
,{""Choices"": [{""Label"": ""Strongly Disagree"", ""Score"": 1},{""Label"": ""Disagree"", ""Score"": 2}, {""Label"": ""Agree"", ""Score"": 3}, {""Label"": ""Strongly Agree"", ""Score"": 4}],""ID"": ""Field150"", ""IsRequired"": ""0"",""SubFields"": [{""ID"": ""Field150"",""Label"": ""Statement One""},{""ID"": ""Field151"",""Label"": ""Statement Two""}, {""ID"": ""Field152"", ""Label"": ""Statement Three""}],""Title"": ""Evaluate the following statements."", ""Type"": ""likert""}]}";
}

<h2>WebHook Sample</h2>

<p>This page simulates a form submission from a Wufoo form.</p>

<form action= "@Href("~/WebHook")" method="post">
<fieldset class="webHookSample">
       <dt>Created By:</dt><dl><input type="text" name="CreatedBy" value="public" /></dl>
       <dt>HandShake Key: </dt><dl><input type="text" name="HandShakeKey" value="my-webhook-key" /> </dl>
       <dt>Date Created: </dt><dl><input type="text" name="DateCreated" value="2000-01-01" /> </dl>
       <dt>Entry Id: </dt><dl><input type="text" name="EntryId" value="8" /> </dl>
       <dt>Ip: </dt><dl><input type="text" name="Ip" value="192.168.1.1" /> </dl>
       <dt></dt><dl><br/></dl>
       <dt>Field1: </dt><dl><input type="text" name="Field1" value="this is test" /></dl>
       <dt>Field2: </dt><dl><input type="text" name="Field2" value="mail@@mail.com" /> </dl/>
       <dt>Field4: </dt>
       <dl>
            <select name="Field4">
                <option value="First Choice">First Choice</option>
                <option value="Second Choice">Second Choice</option>
                <option value="Third Choice" selected="selected">Third Choice</option>                        
            </select>
       </dl/>
       <dt>Field6: </dt>
       <dl>
            <input type="radio" name="Field6" value="First Choice" /> First Choice<br />
            <input type="radio" name="Field6" value="Second Choice" />  Second Choice <br/>
            <input type="radio" name="Field6" value="Third Choice" /> Third Choice <br/>
       </dl/>

       <dt>Field110: </dt>
       <dl>
            <input type="checkbox" name="Field110" value="First Choice" /> First Choice<br />
            <input type="checkbox" name="Field111" value="Second Choice" />  Second Choice<br/>
            <input type="checkbox" name="Field112" value="Third Choice" /> Third Choice<br/>
       </dl/>
        <dt></dt><dl><br/></dl>        
       <dt>Form Structure: </dt><dl> <input type="text" name="FormStructure" value="@FormStructure" /></dl>
       <dt>Field Structure: </dt><dl><input type="text" name="FieldStructure" value="@FieldStructure" /><br /></dl>
    
        <input type="hidden" name="Field50" value="Corrientes av." />
        <input type="hidden" name="Field51" value="1200" /> 
        <input type="hidden" name="Field52" value="Capital" />        
        <input type="hidden" name="Field54" value="CABA" />
        <input type="hidden" name="Field53" value="5532" />
        <input type="hidden" name="Field55" value="Argentina" /> 

        <input type="hidden" name="Field10" value="Mary" />        
        <input type="hidden" name="Field11" value="Smith" /> 
                
        <input type="hidden" name="Field150" value="Agree" />
        <input type="hidden" name="Field151" value="Disagree" /> 
        <input type="hidden" name="Field152" value="Agree" /> 
        
       <dt><input type="submit" value="Send Post" /></dt>
   </fieldset>
</form>